	<table>
		<thead>
			<tr>
				<th width="20"><?php echo form_checkbox(array('name' => 'action_to_all', 'class' => 'check-all')); ?></th>
				<th class="collapse"><?php echo lang('stoepje_voucher_code_title'); ?></th>
				<th class="collapse"><?php echo lang('stoepje_voucher_prize_title'); ?></th>
				<th class="collapse"><?php echo lang('stoepje_voucher_description_title'); ?></th>
				<th class="collapse"><?php echo lang('stoepje_voucher_status_title'); ?></th>
				<th class="collapse"><?php echo lang('stoepje_voucher_created_date_title'); ?></th>
				<th width="180"></th>
			</tr>
		</thead>
		<tfoot>
			<tr>
				<td colspan="7">
					<div class="inner"><?php $this->load->view('admin/partials/pagination'); ?></div>
				</td>
			</tr>
		</tfoot>
		<tbody>
			<?php foreach ($vouchers as $voucher) : ?>
				<tr>
					<td><?php echo form_checkbox('action_to[]', $voucher->id); ?></td>
					<td><?php echo $voucher->code; ?></td>
					<td><?php echo $voucher->prize_name; ?></td>
					<td><?php echo $voucher->description; ?></td>
					<td>
					<?php
						if($voucher->status){
							echo lang('stoepje_voucher_status_active_title');
						}else{
							echo lang('stoepje_voucher_status_inactive_title');
						}
					?>
					</td>
					<td class="collapse"><?php echo format_date($voucher->created_time); ?></td>
					<td>
						<?php echo anchor('admin/voucher/edit/' . $voucher->id, lang('global:edit'), 'class="btn orange edit"'); ?>
						<?php echo anchor('admin/voucher/delete/' . $voucher->id, lang('global:delete'), array('class'=>'confirm btn red delete')); ?>
					</td>
				</tr>
			<?php endforeach; ?>
		</tbody>
	</table>

	<div class="table_action_buttons">
		<?php $this->load->view('admin/partials/buttons', array('buttons' => array('delete', 'active'))); ?>
	</div>